.image-code {
  user-select: none;
  width: 100%;
}

.image-container {
  position: relative;
  background-color: #ddd;
  border: 1px solid #dadada;
}

.canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.reload-container {
  position: absolute;
  right: 0;
  padding: 5px 0 5px 10px;
  background-color: rgba(255, 255, 255, .3);
  height: 40px;
  text-align: center;
}

.reload-wrapper {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.reload-ico {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: center/cover no-repeat;
}

.reload-tips {
  font-size: 14px;
  color: #666;
}

.slider-wrpper {
  position: relative;
  margin: 10px 0;
}

.slider-bar {
  font-size: 14px;
  text-align: center;
  color: #999;
  background-color: #ddd;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  background: #fff center/90% 90% no-repeat;
  box-shadow: 0 2px 10px 0 #333;
}

/* 提示信息 */

.tips-container,
.tips-container--active {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  padding: 10px;
  transform: translate(-50%, -50%);
  transition: all 0.25s;
  background: #fff;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
}

.tips-container--active {
  visibility: visible;
  opacity: 1;
}

.tips-ico {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: center/cover no-repeat;
}

.tips-text {
  color: #666;
}